package com.example.dbsample.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DataBusDto {
    private Long id;

    @ApiModelProperty(value = "数据总线编码")
    private String dataBusCode;

    @ApiModelProperty(value = "数据总线名称")
    private String dataBusName;

    @ApiModelProperty(value = "数据总线类型 http/mq")
    private String dataBusType;

    @ApiModelProperty(value = "请求地址 http方式为url，mq为topic，bean为本地包名类")
    private String requestAddress;

    @ApiModelProperty(value = "请求方式 get/post")
    private String requestMethod;

    @ApiModelProperty(value = "请求参数")
    private String requestParams;

    @ApiModelProperty(value = "返回结果")
    private String response;

    @ApiModelProperty(value = "超时时间")
    private Integer timeOut;

    @ApiModelProperty(value = "是否同步调用：1-是，0-否")
    private Integer isSync;

    @ApiModelProperty(value = "并发数，默认 -1无限制")
    private Integer concurrency;
}
